<template>
	<view class="bottom-submit">
		<view class="subimitBtn" @click="submitMes">
			{{ title }}
		</view>
	</view>
</template>

<script>
	import MyStore from '@/store/index.js'
	import config from "@/config"; // 导入配置文件
	// 基本路径
	const baseURL = config.baseURL;
	export default {
		data() {
			return {

			};
		},
		props: {
			title: {
				type: String,
				default: "提交"
			}
		},
		methods:{
			submitMes(){
				this.$emit("submitMes");
			}
		}
	}
</script>

<style lang="scss">
	.bottom-submit {
		background-color: #4f4f4f;
		height: 9vh;
		position: relative;

		.subimitBtn {
			background-color: #ffb612;
			border-radius: 8rpx;
			color: white;
			// font-weight: 600;
			min-width: 120rpx;
			padding: 7rpx;
			height: 50rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			position: absolute;
			right: 20rpx;
			top: 24%;
			// box-sizing: border-box;
			&:active{
				background-color: #fed12b;
			}
		}
	}
</style>
